package com.arpa.ntocc.common.domain.vo;

import com.arpa.ntocc.common.common.cache.DictCacheDO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 数据字典表DTO
 * </p>
 *
 * @author liuyj
 * @since 2019-11-25
 */
@Data
@ApiModel(value="DictVO对象", description="数据字典表")
public class DictVO implements Serializable {

    @ApiModelProperty(value = "id")
    private Integer id;

    @ApiModelProperty(value = "字典类型")
    private String type;

    @ApiModelProperty(value = "字典code")
    private String code;

    @ApiModelProperty(value = "名字")
    private String name;

    @ApiModelProperty(value = "0正常/1停用")
    private Integer status;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "机构code")
    private String branchCode;

    @ApiModelProperty(value = "总数")
    private Long total;

    /**
     * 查询缓存列表
     * @param dictDTO
     * @return
     */
    @ApiModelProperty(value = "下级字典列表")
    private List<DictCacheDO> dictList;
}
